home *** CD-ROM | disk | FTP | other *** search
/ Champak 109 / Vol 109.iso / games / stepp000.swf / scripts / DefineSprite_2313 / frame_25 / DoAction.as
Encoding:
Text File  |  2008-11-12  |  711 b   |  41 lines

  1. if(eval("/Variables:DerniereTuile") != 1)
  2. {
  3.    if(eval("/Variables:Pierre1") == true)
  4.    {
  5.       tellTarget("_root.Pierre1")
  6.       {
  7.          play();
  8.       }
  9.    }
  10.    if(eval("/Variables:Pierre3") == false)
  11.    {
  12.       tellTarget("_root.Pierre3")
  13.       {
  14.          play();
  15.       }
  16.    }
  17.    if(eval("/Variables:Pierre4") == true)
  18.    {
  19.       tellTarget("_root.Pierre4")
  20.       {
  21.          play();
  22.       }
  23.    }
  24.    if(eval("/Variables:Pierre6") == true)
  25.    {
  26.       tellTarget("_root.Pierre6")
  27.       {
  28.          play();
  29.       }
  30.    }
  31.    tellTarget("_root.Pierre5")
  32.    {
  33.       gotoAndPlay(2);
  34.    }
  35.    set("/Variables:DerniereTuile",0);
  36. }
  37. else
  38. {
  39.    set("/Variables:DerniereTuile",2);
  40. }
  41.